package cn.sany.cterminal.entity.mq;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class FaultInfoMsg implements Serializable{
    int faultEventId;
    Date collectTime;
    String vinNum;
    int autoControlFaultNum;
    int normalFaultNum;
    int codeFaultNum;
    int turnFaultNum;
    public int getTotalNumber(){
        return autoControlFaultNum+normalFaultNum+codeFaultNum+turnFaultNum;
    }
}
